<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang='zh-CN' xml:lang='zh-CN' xmlns='http://www.w3.org/1999/xhtml'>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta http-equiv="Content-Language" content="zh-CN"/>
        <meta name="robots" content="index, follow" />
        <link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico" />
        <title>氿上网</title>
        <?php echo $this->_var['system_css']; ?>
        <?php echo $this->_var['system_js']; ?>
        <script>
            var editor;
            KindEditor.ready(function(K) {
                editor = K.create('textarea[name="content"]', {
                    resizeType : 1,
                    allowPreviewEmoticons : false,
                    allowImageUpload : false,
                    items : [
                        'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
                        'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
                        'insertunorderedlist', '|', 'emoticons', 'image']
                });
            });
        </script>
        <script type="text/javascript">
            $(function(){
                $("#myform").validate({
                    rules: {
                        content:'required'
                    },
                    messages: {
                        content:'产品介绍不能为空'
                    }
                });
            })
        </script>
    </head>
    <body>
        <div id="OSC_Screen">
            <?php echo $this->fetch('header.html'); ?>
            <div id="OSC_Content" class='CenterDiv'>
                <?php echo $this->fetch('user_nav.html'); ?>
                <?php echo $this->fetch('message.html'); ?>
                <div class="MainForm" id="reg_page">

                    <form id="myform" name="myform" action="<?php echo $this->_var['site_url']; ?>shop/user/goods/reply/<?php echo $this->_var['data']['id']; ?>" method="post" style="float:left; width:700px;" enctype="MULTIPART/FORM-DATA" >
                        <table cellspacing='0' cellpadding='0'>


                            <tr id='tr_user'>
                                <th >用户评价：</th>
                                <td>
                                    <div>
                                        <p>用户:<?php echo $this->_var['data']['buyer_name']; ?></p>
                                        <p>用户:<?php echo $this->_var['data']['email']; ?></p>
                                        <p>用户:<?php echo $this->_var['data']['content']; ?></p>
                                        <input type="hidden" value="<?php echo $this->_var['data']['goods_id']; ?>" name="id">
                                    </div>
                                </td>    			
                            </tr>

                            <tr id='tr_user'>
                                <th >评论内容：</th>
                                <td>
                                    <textarea name="content" id="content" style="width:400px;height:120px;"></textarea>
                                </td>    			
                            </tr>
                            <tr class='buttons'>
                                <th>&nbsp;</th>		
                                <td style='padding:20px 0;'>
                                    <input type='submit' value=' 回复 ' class='BUTTON SUBMIT'/><br/><br/>
                                </td>
                            </tr>
                        </table>
                    </form>
                    <div class='clear'></div>
                </div>

            </div>
            <div class='clear'></div></div>
        <div class='clear'></div>
        <?php echo $this->fetch('footer.html'); ?>
        </div>


    </body>
</html>
